package win.smartown.android.app.redrain;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.TextView;

public class MainActivity extends AppCompatActivity {

    private RedRainContainer redRainContainer;
    private TextView textView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        redRainContainer = (RedRainContainer) findViewById(R.id.container);
        textView = (TextView) findViewById(R.id.text);
    }

    public void start(View view) {
        redRainContainer.start();
    }
}
